<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en-US">
	<head profile="http://gmpg.org/xfn/11">
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>Language and Translations : 68KB User Guide</title>
		<link href="../css/style.css" rel="stylesheet" type="text/css" media="all" />
		<script type="text/javascript" src="../js/jquery.min.js"></script>
		<script type="text/javascript" src="../js/main.js"></script>
		<script type="text/javascript" src="../js/nav.js"></script>
		<meta http-equiv='expires' content='-1' />
		<meta http-equiv='pragma' content='no-cache' />
		<meta name='robots' content='all' />
	</head>
	<body>
		<div id="panel">
			<div id="panel_contents">
				<script type="text/javascript">create_menu('../');</script>
			</div>
		</div>
		<div id="header">
			<div class="container_16">
				<div id="logo">
					<div class="grid_10 logo_img">
						<img src="../images/logo-68kb.png" alt="logo" width="181" height="53" /> <a name="top" id="top"></a>
					</div>
					<div class="grid_6">
						<div class="panel_button" style="visibility: visible;">
							<a class="open" href="../toc.html">Table of Contents</a>
						</div>
						<div class="panel_button" id="hide_button" style="display: none;">
							<a class="close" href="#">Close</a>
						</div>
					</div>
					<div class="clear"></div>
					<div id="title_area" class="grid_9">
						<h4>User Guide v2.0.0</h4>
					</div>
					<div class="grid_7 search_area">
						<form method="get" action="http://www.google.com/search">
							<input type="hidden" name="as_sitesearch" id="as_sitesearch" value="68kb.com/user_guide/" /><input id="search" type="text" size="31" maxlength="255" name="s" value="Search the user guide" />&nbsp;<input type="submit" class="submit" name="sa" value="Go" />
						</form>
					</div>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<p>
			<br class="clear" />
		</p>
		<div class="container_16 main">
			<div id="content" class="grid_16">
				<div id="breadcrumb">
					<a href="http://68kb.com/">68KB Home</a>  &rarr; 
					<a href="../index.html">User Guide Home</a>   &rarr; 
					Translate
				</div>
				
				<h1>Translate 68KB</h1>
					
					<p>By default 68KB comes with an English language file. You can create your own language files by translating the file inside the <dfn>includes/application/language/english</dfn> folder.</p>

					
					<p>For example if you are creating a Spanish site then you would create a new folder <dfn>includes/applicaton/language/spanish/</dfn> and make a copy of the files the in the english folder.</p>
					
					<p>After you have done the translation open the file <dfn>includes/config.php</dfn> and change this line:</p>

					<code>$config['language']	= "english";</code>

					<p>To:</p>

					<code>$config['language']	= "spanish";</code>

					<h2>Framework Language Files</h2>
					<p>68KB uses CodeIgniter as the php framework and it includes it's own language files and they are located in <dfn>includes/system/language/</dfn>. Those files have already been translated
						into other languages and you can download these from the <a href="http://codeigniter.com/wiki/Languages">CodeIgniter Wiki</a>.
						
					<h2>Changing the date time format</h2>

					<p>The date format is stored in the <dfn>includes/config.php</dfn> and uses <a href="http://php.net/date">php date() function</a></p>
					<code>$config['date_format'] = 'Y-m-d H:i:s';<br />
					$config['comment_date_format'] = 'F j, Y h:i a';<br />
					$config['article_date_format'] = 'F j, Y';
					</code>

			</div>
			<div class="clear"></div>
		</div>
		
		<br class="clear" />
		
		<div class="container_16 footer">
			<div class="grid_8">
				<p class="copy">
					&copy; 2010 68KB - All Rights Reserved.<br />
					A division of <a href="http://68designs.com">68 Designs, LLC</a>
				</p>
			</div>
			<div class="grid_8 top">
				<p>
					<a href="#top">Back to Top</a>
				</p>
			</div>
		</div>
	</body>
</html>